package com.awanp3.nimbus.remote.strategy;

import com.awanp3.nimbus.remote.api.domain.RemoteWmsPoInfo;
import com.awanp3.nimbus.remote.api.model.FetchOrderParam;
import com.awanp3.nimbus.remote.api.model.PostOrderParam;
import com.awanp3.nimbus.remote.api.model.PostOrderResult;

import java.util.List;

/**
 * 采购订单相关
 *
 * @author 20014170
 */
public interface WmsPoInfoStrategy {

    /**
     * 下载订单
     *
     * @param param 参数
     * @return List<RemoteWmsPoInfo>
     */
    List<RemoteWmsPoInfo> fetch(FetchOrderParam param);


    /**
     * 过账
     *
     * @param param 过账参数
     * @return PostOrderResult
     */
    PostOrderResult post(PostOrderParam param);

}
